If window == NULL, assume the root window. (restoring the behaviour that
authorRobert Brady <robert@suse.co.uk>
Wed, 25 Oct 2000 21:05:37 +0000 (21:05 +0000)
committerRobert Brady <rbrady@src.gnome.org>
Wed, 25 Oct 2000 21:05:37 +0000 (21:05 +0000)
2000-10-25  Robert Brady  <robert@suse.co.uk>

* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
gdk_property_delete): If window == NULL, assume the root window.
(restoring the behaviour that was in 1.2).
--------------------------------------------------------------------

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/x11/gdkproperty-x11.c

index 59676a143766482037baf0ffb93a27546777b23c..e6f54639a5217436acde02b32fd56f4669677e19 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2000-10-25  Robert Brady  <robert@suse.co.uk>
 
+       * gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
+       gdk_property_delete): If window == NULL, assume the root window.
+       (restoring the behaviour that was in 1.2).
+       
        * gtk/testtext.c (save_buffer): Allow creation of new files when
        saving.
 
index 59676a143766482037baf0ffb93a27546777b23c..e6f54639a5217436acde02b32fd56f4669677e19 100644 (file)
@@ -1,5 +1,9 @@
 2000-10-25  Robert Brady  <robert@suse.co.uk>
 
+       * gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
+       gdk_property_delete): If window == NULL, assume the root window.
+       (restoring the behaviour that was in 1.2).
+       
        * gtk/testtext.c (save_buffer): Allow creation of new files when
        saving.
 
index 59676a143766482037baf0ffb93a27546777b23c..e6f54639a5217436acde02b32fd56f4669677e19 100644 (file)
@@ -1,5 +1,9 @@
 2000-10-25  Robert Brady  <robert@suse.co.uk>
 
+       * gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
+       gdk_property_delete): If window == NULL, assume the root window.
+       (restoring the behaviour that was in 1.2).
+       
        * gtk/testtext.c (save_buffer): Allow creation of new files when
        saving.
 
index 59676a143766482037baf0ffb93a27546777b23c..e6f54639a5217436acde02b32fd56f4669677e19 100644 (file)
@@ -1,5 +1,9 @@
 2000-10-25  Robert Brady  <robert@suse.co.uk>
 
+       * gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
+       gdk_property_delete): If window == NULL, assume the root window.
+       (restoring the behaviour that was in 1.2).
+       
        * gtk/testtext.c (save_buffer): Allow creation of new files when
        saving.
 
index 59676a143766482037baf0ffb93a27546777b23c..e6f54639a5217436acde02b32fd56f4669677e19 100644 (file)
@@ -1,5 +1,9 @@
 2000-10-25  Robert Brady  <robert@suse.co.uk>
 
+       * gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
+       gdk_property_delete): If window == NULL, assume the root window.
+       (restoring the behaviour that was in 1.2).
+       
        * gtk/testtext.c (save_buffer): Allow creation of new files when
        saving.
 
index 59676a143766482037baf0ffb93a27546777b23c..e6f54639a5217436acde02b32fd56f4669677e19 100644 (file)
@@ -1,5 +1,9 @@
 2000-10-25  Robert Brady  <robert@suse.co.uk>
 
+       * gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
+       gdk_property_delete): If window == NULL, assume the root window.
+       (restoring the behaviour that was in 1.2).
+       
        * gtk/testtext.c (save_buffer): Allow creation of new files when
        saving.
 
index 59676a143766482037baf0ffb93a27546777b23c..e6f54639a5217436acde02b32fd56f4669677e19 100644 (file)
@@ -1,5 +1,9 @@
 2000-10-25  Robert Brady  <robert@suse.co.uk>
 
+       * gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
+       gdk_property_delete): If window == NULL, assume the root window.
+       (restoring the behaviour that was in 1.2).
+       
        * gtk/testtext.c (save_buffer): Allow creation of new files when
        saving.
 
index 4ff07a2b33b71934bce7d334a1d5d0bb9a614ca0..3929729892a0871bb6d7a2acf3bddbd16f7be223 100644 (file)
@@ -112,8 +112,7 @@ gdk_property_get (GdkWindow   *window,
   gulong ret_length;
   guchar *ret_data;
 
-  g_return_val_if_fail (window != NULL, FALSE);
-  g_return_val_if_fail (GDK_IS_WINDOW (window), FALSE);
+  g_return_val_if_fail (!window || GDK_IS_WINDOW (window), FALSE);
 
   if (window)
     {
@@ -201,8 +200,7 @@ gdk_property_change (GdkWindow    *window,
   Display *xdisplay;
   Window xwindow;
 
-  g_return_if_fail (window != NULL);
-  g_return_if_fail (GDK_IS_WINDOW (window));
+  g_return_if_fail (!window || GDK_IS_WINDOW (window));
 
   if (window)
     {
@@ -229,8 +227,7 @@ gdk_property_delete (GdkWindow *window,
   Display *xdisplay;
   Window xwindow;
 
-  g_return_if_fail (window != NULL);
-  g_return_if_fail (GDK_IS_WINDOW (window));
+  g_return_if_fail (!window || GDK_IS_WINDOW (window));
 
   if (window)
     {